package com.marion.zeus

import android.app.Application
import com.google.gson.Gson
import com.marion.zeus.config.ConfigBase

/**
 * @author     : RuiO
 * date        : 2023/7/20
 * description :
 */
class ZusApplication :Application(){
    companion object{
        lateinit var appContext: ZusApplication
        lateinit var config:ConfigBase
    }

    override fun onCreate() {
        super.onCreate()
        appContext = this
        //耗时操作
        config =  Gson().fromJson(MobilePlatform.LenovoConfig,ConfigBase::class.java)
    }
}